﻿using System;
using System.Collections.Generic;
using System.Text;
using WinFormsApp1.Interface;

namespace WinFormsApp1
{
    class Circular : Shape
    {
        private double r;
        public void setr(double r)
        {
            this.r = r;
        }
        public Circular()
        {

        }
        public Circular(double r)
        {
            this.r = r;
        }
        public double CalculatedArea()
        {
            return 3.14 * r * r;
        }

        public bool isReasonable()
        {
            return r > 0;
        }
    }

}

